
def ReadData():
    try:
        PictureFile = open('Pictures.txt', 'r')
    except:
        raise FileNotFoundError
    else:
        dataarray = PictureFile.readlines()
        j = 0
        count = 0
        for i in range(0,len(dataarray),4):
            Description = dataarray[i]
            width = dataarray[i + 1]
            height = dataarray[i + 2]
            colour = dataarray[i + 3]
            Newpicture  = Picture(Description,width,height,colour)
            array[j] = Newpicture
            j = j + 1
            count  = count + 1
        return count
array =  for i in range(100)
ReadData()